import App from './App'


// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif


// 全局导入uview框架
import uView from 'uni_modules/uview-ui' 
Vue.use(uView)

// 全局请求封装
import request from './utils/http.js'
Vue.prototype.$request = request

//自定义组件全局引入
import zSearch from '@/components/z-search.vue';
import zTabs from '@/components/z-tabs.vue';
import zMenus from '@/components/z-menus.vue';
Vue.component('zSearch',zSearch);
Vue.component('zTabs',zTabs);
Vue.component('zMenus',zMenus);

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif